﻿using System;

namespace Gmantis.Uploader
{
    public class UploadManagerSettingsWebService : UploadManagerSettings
    {
        // Fields
        private string _methodManyFiles;
        private string _methodOneFile;
        private string _namespace;
        private string _paramFileData;
        private string _paramFileName;
        private string _paramFiles;
        private string _paramParameters;
        private string _paramPartCount;
        private string _paramPartNumber;

        // Methods
        public UploadManagerSettingsWebService()
            : this(null)
        {
        }

        public UploadManagerSettingsWebService(Uri address)
            : base(address)
        {
            this._namespace = "http://tempuri.org/";
            this._methodOneFile = "UploadFile";
            this._methodManyFiles = "UploadFiles";
            this._paramFiles = "files";
            this._paramFileName = "fileName";
            this._paramFileData = "fileData";
            this._paramParameters = "parameters";
            this._paramPartCount = "partCount";
            this._paramPartNumber = "partNumber";
        }

        // Properties
        public string MethodManyFiles
        {
            get
            {
                return this._methodManyFiles;
            }
            set
            {
                this._methodManyFiles = value;
            }
        }

        public string MethodOneFile
        {
            get
            {
                return this._methodOneFile;
            }
            set
            {
                this._methodOneFile = value;
            }
        }

        public string Namespace
        {
            get
            {
                return this._namespace;
            }
            set
            {
                this._namespace = value;
            }
        }

        public string ParamFileData
        {
            get
            {
                return this._paramFileData;
            }
            set
            {
                this._paramFileData = value;
            }
        }

        public string ParamFileName
        {
            get
            {
                return this._paramFileName;
            }
            set
            {
                this._paramFileName = value;
            }
        }

        public string ParamFiles
        {
            get
            {
                return this._paramFiles;
            }
            set
            {
                this._paramFiles = value;
            }
        }

        public string ParamParameters
        {
            get
            {
                return this._paramParameters;
            }
            set
            {
                this._paramParameters = value;
            }
        }

        public string ParamPartCount
        {
            get
            {
                return this._paramPartCount;
            }
            set
            {
                this._paramPartCount = value;
            }
        }

        public string ParamPartNumber
        {
            get
            {
                return this._paramPartNumber;
            }
            set
            {
                this._paramPartNumber = value;
            }
        }
    }
}
